package com.pt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("forum_section")
public class ForumSection {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private String name;
    
    private String description;
    
    private Integer sortOrder;
    
    private String moderatorIds;
    
    // 非数据库字段，用于统计每个板块的帖子数量
    @TableField(exist = false)
    private Integer topicCount;
} 